public class LingXing1 {
    public static void main(String[] args) {
        for (int i = 0; i <5 ; i++) {
            for (int j = 0; j <5-i ; j++) {
                System.out.print(" ");
            }
            for (int j = 0; j <2*i+1 ; j++) {
                if(j==0||j==2*i){
                    System.out.print("*");
                }else{
                    System.out.print(" ");
                }
            }
            System.out.println();
        }
        for (int i = 0; i <4 ; i++) {
            for (int j = 0; j <i+2 ; j++) {
                System.out.print(" ");
            }
            for (int j = 0; j <7-2*i ; j++) {
                if(j==0||j==6-2*i){
                    System.out.print("*");
                }else{
                    System.out.print(" ");
                }
            }
            System.out.println();
        }
    }
}
